package com.ruoyi.system.domain.aggregation;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 提现对象 withdraw
 * 
 * @author ruoyi
 * @date 2025-01-01
 */
public class Withdraw extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 提现金额，单位分 */
    @Excel(name = "提现金额(分)")
    private Long amount;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 用户类型：1、c端用户2、业务员3、商家4、区域代理5、总公司 */
    @Excel(name = "用户类型", readConverterExp = "1=c端用户,2=业务员,3=商家,4=区域代理,5=总公司")
    private Integer userType;

    /** 状态：1、待审核2、已通过3、已拒绝 */
    @Excel(name = "状态", readConverterExp = "1=待审核,2=已通过,3=已拒绝")
    private Integer statue;

    /** 拒绝原因 */
    @Excel(name = "拒绝原因")
    private String reason;

    /** 删除标志，0未删除，1删除 */
    private Integer deleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setAmount(Long amount) 
    {
        this.amount = amount;
    }

    public Long getAmount() 
    {
        return amount;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setUserType(Integer userType) 
    {
        this.userType = userType;
    }

    public Integer getUserType() 
    {
        return userType;
    }

    public void setStatue(Integer statue) 
    {
        this.statue = statue;
    }

    public Integer getStatue() 
    {
        return statue;
    }

    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }

    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("amount", getAmount())
            .append("userId", getUserId())
            .append("userType", getUserType())
            .append("statue", getStatue())
            .append("reason", getReason())
            .append("deleted", getDeleted())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}

